﻿using System;

namespace Accona.Remoting.Remoting
{
    [Serializable]
    public class ServiceInfo
    {
        #region AnnouncementAction enum

        public enum AnnouncementAction
        {
            Add,
            Remove
        }

        #endregion

        [NonSerialized] private DateTime timestamp;

        public Guid ServerId { get; set; }
        public String SupportedInterface { get; set; }
        public AnnouncementAction Action { get; set; }

        public DateTime Timestamp
        {
            get { return timestamp; }
            set { timestamp = value; }
        }
    }
}